<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
</head>
<body>
    <input type="text" placeholder="请输入用户名"><br>
    <input type="text" placeholder="手机号"><br>
    <input type="password" placeholder="密码"><br>
    <button>注册</button>
</body>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script>
    const btn=document.querySelector('button')
    axios.get('http://127.0.0.1:7001/zc',{
        params: {
            userName,
            phone,
            passWord
        },
    }).then(res=>{
        res.data.forEach(item => {
            
        });
    })
    btn.addEventListener('click',()=>{
        window.location.href='../登录页面.html'
    })
</script>
</html>